//<<<<<<< HEAD
////package com.act.web;
////
////import java.util.List;
////
////import javax.annotation.Resource;
////
////import org.springframework.stereotype.Controller;
////import org.springframework.web.bind.annotation.RequestMapping;
////import org.springframework.web.bind.annotation.RequestMethod;
////import org.springframework.web.bind.annotation.ResponseBody;
////
////import com.act.domain.Express;
////import com.act.dto.Response;
////import com.act.service.api.IExpressService;
////
////@Controller
////@RequestMapping("/express")
////public class ExpressController {
////
////	@Resource
////	private IExpressService expressService;
////
////    @RequestMapping(value = "/add",method = RequestMethod.POST)
////    @ResponseBody
////    public Response add(Express express) {
////    	 try {
////    		 expressService.add(express);
////             return Response.success();
////         } catch (Exception e) {
////
////             return Response.fail();
////         }
////
////    }
////
////    @RequestMapping(value = "/update",method = RequestMethod.POST)
////    @ResponseBody
////    public Response update(Express express) {
////    	 try {
////    		 expressService.update(express);
////             return Response.success();
////         } catch (Exception e) {
////
////             return Response.fail();
////         }
////
////    }
////
////    @RequestMapping(value = "/delete",method = RequestMethod.POST)
////    @ResponseBody
////    public Response delete(int id) {
////    	 try {
////    		 expressService.delete(id);
////             return Response.success();
////         } catch (Exception e) {
////
////             return Response.fail();
////         }
////
////    }
////
////    @RequestMapping(value="/get",method=RequestMethod.GET)
////    public @ResponseBody List<Express> getAll(){
////
////    	List<Express> list=expressService.getAll();
////        return list;
////    }
////
////}
//=======
//package com.act.web;
//
//import java.util.List;
//
//import javax.annotation.Resource;
//
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestMethod;
//import org.springframework.web.bind.annotation.ResponseBody;
//
//import com.act.domain.Express;
//import com.act.dto.Response;
//import com.act.service.api.IExpressService;
//
//@Controller
//@RequestMapping("/express")
//public class ExpressController {
//
//	@Resource
//	private IExpressService expressService;
//
//    @RequestMapping(value = "/add",method = RequestMethod.POST)
//    @ResponseBody
//    public Response add(Express express) {
//    	 try {
//    		 expressService.add(express);
//             return Response.success();
//         } catch (Exception e) {
//
//             return Response.fail();
//         }
//
//    }
//
//    @RequestMapping(value = "/update",method = RequestMethod.POST)
//    @ResponseBody
//    public Response update(Express express) {
//    	 try {
//    		 expressService.update(express);
//             return Response.success();
//         } catch (Exception e) {
//
//             return Response.fail();
//         }
//
//    }
//
//    @RequestMapping(value = "/delete",method = RequestMethod.POST)
//    @ResponseBody
//    public Response delete(int id) {
//    	 try {
//    		 expressService.delete(id);
//             return Response.success();
//         } catch (Exception e) {
//
//             return Response.fail();
//         }
//
//    }
//
//    @RequestMapping(value="/get",method=RequestMethod.GET)
//    public @ResponseBody List<Express> getAll(){
//
//    	List<Express> list=expressService.getAll();
//        return list;
//    }
//
//}
//>>>>>>> 4ba0634a1291a0bc74a4845d814dc47035a2dc18
